package com.quan.TemplateEditor.entity;

import lombok.*;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Getter
@Setter
@Table(name = WorkDef.TABLE_NAME)
public class WorkDef {
    public static final String TABLE_NAME = "SYS_WORKDEF";
    @Id
    @Column(name = "id")
    private String id;

    @Column(name = "code")
    String code;

    @Column(name = "drawtype")
    String drawtype;

    @Column(name = "username")
    String username;

    @Column(name = "usercode")
    String usercode;

    @Column(name = "cadlayer")
    String cadlayer;

    @Column(name = "gistable")
    String gistable;

    @Column(name = "colornumber")
    String colornumber;

    @Column(name = "width")
    String width;

    @Column(name = "objecttype")
    String objecttype;

    @Column(name = "flag")
    String flag;

    /*@Column(name = "Order")
    String Order;*/

    @Column(name = "wipeout")
    String wipeout;

    @Column(name = "codefield")
    String codefield;

    @Column(name = "symbolfield")
    String symbolfield;

}
